/*
 * @Descripttion: 
 * @version: 
 * @Author: turingchang
 * @Date: 2020-09-03 22:17:46
 * @LastEditors: turingchang
 * @LastEditTime: 2020-12-21 15:30:45
 */

module.exports = app => {
    const {router,controller} = app;
    const homeRouter = router.namespace(`/api/${app.config.xsoaServerName}/home`);
    homeRouter.get('/', controller.test.test);
    
    // router.redirect('/news/list','/news');//重定向使用router而不是adminRouter
} 